/****************************************************************************
*  Title: design.sc
*  Author: Bryant Smith
*  Date: 04/16/2011
*  Description: Main behavior for parity generator / encoder
*               Accepts stream of input bytes and outputs encoded bytes
*               Input set even or odd parity 
****************************************************************************/

import "c_queue";
import "simple_edge";


behavior design(i_receiver InQueue, i_sender OutQueue)
{
	
	simple_edge EDGE(InQueue, OutQueue);

	void main (void)
	{		
		EDGE.main();  // init sets parity mode
	}
};
